﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="添加客房.aspx.cs" Inherits="添加客房" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .auto-style1 {
            width: 100%;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="right" Runat="Server">
     <table style="WIDTH: 703px; HEIGHT: 51px" cellSpacing="0" borderColorDark="#cccccc" cellPadding="5" align="center" borderColorLight="#000000" border="1">
				    
    				<tr bgColor="#cccccc">
					<td vAlign="center" align="middle" bgcolor="Maroon"   colSpan="2"><FONT size="6"><STRONG><FONT face="楷体_GB2312" color="yellow"  > 酒店客房管理</FONT> <FONT size="4"  color="yellow">--添加客房</FONT></STRONG></FONT>
					</td>
				</tr> </table>

     <br />
     <table class="auto-style1">
         <tr>
             <td>房间号：</td>
             <td>
                  <asp:TextBox ID="txtnu" runat="server" Height="26px" Width="163px"></asp:TextBox>
              </td>
             <td>
                    <asp:RequiredFieldValidator ID="re2" runat="server" ControlToValidate="txtnu" ErrorMessage="房间号不能为空！" ForeColor="Red"></asp:RequiredFieldValidator>
                </td>
         </tr>
         <tr>
             <td>价格</td>
             <td>
                 <asp:TextBox ID="TextBox1" runat="server" Height="29px" Width="161px"></asp:TextBox>
             </td>
             <td>&nbsp;</td>
         </tr>
         <tr>
             <td>房间类型</td>
             <td>
                 <asp:TextBox ID="TextBox2" runat="server" Height="25px" Width="160px"></asp:TextBox>
             </td>
             <td>&nbsp;</td>
         </tr>
         <tr>
             <td>押金</td>
             <td>
                 <asp:TextBox ID="TextBox3" runat="server" Height="29px" Width="157px"></asp:TextBox>
             </td>
             <td>&nbsp;</td>
         </tr>
         <tr>
             <td>&nbsp;</td>
             <td>
                 &nbsp;</td>
             <td>&nbsp;</td>
         </tr>
     </table>

     <br /><center>
            <asp:Button ID="btnL" runat="server" BackColor="#f52b00" BorderStyle="None" Height="24px"  Text="提交" Width="136px" style="background-color: #66FFFF; text-align: center;" OnClick="btnL_Click" />
   
          <br />
     <br />
     <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False">
         <Columns>
             <asp:BoundField DataField="G_number" HeaderText="房间号" />
             <asp:BoundField DataField="G_price" HeaderText="价格" />
             <asp:BoundField DataField="G_type" HeaderText="房间类型" />
             <asp:BoundField DataField="G_money" HeaderText="押金" />
             <asp:BoundField DataField="G_free" HeaderText="是否空闲" />
         </Columns>
     </asp:GridView></center>
   
          </asp:Content>

